package com.hotel.api.mapper;

import com.hotel.api.entity.AdminNotice;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdminNoticeMapper {
    int insert(AdminNotice record);

    List<AdminNotice> selectAll();


    int updateNotice(AdminNotice adminNotice);

}